#include"Parser.hpp"

int main(int argc,char* argv[])
{
    if(argc!=3)
    {
        cout<<"Instructions for use: ./parser src_path dest_file_name"<<endl;
        return 1;
    }
    shared_ptr<Parser> parser(new HtmlParser(argv[1],argv[2]));

    parser->EnumFileName();
    parser->ParserFile();
    parser->Save();

    return 0;
}